package ling.archives.common.domain.entity;

import java.io.Serializable;
import java.util.Date;

public interface ICreatedEntity<T extends Comparable<T> & Serializable> {
    public Long getCreatedId();

    public void setCreatedId(Long id);
    public Date getCreatedTime();
    public void setCreatedTime(Date date);

    public static interface ICreateBy {
        public String getCreateBy();

        public void setCreateBy(String name);
    }

    public static interface IUserId {
        public Long getUserId();

        public void setUserId(Long id);
    }
}
